from core.room import Room
from core.basehandler import BaseHandler

class Death(Room):
    
    def __init__(self, room_id):
        Room.__init__(self, room_id)    # do basic initialization for every room
    
    # return description of room.
    def get_description(self):
        #game = get_game()
        #room = game.get_room('beach2', Beach2())
        
        #if room.killed_by_kangaroo:
            #return "You were killed by a crazy kangaroo.  Good job buddy."
        #else:
        return "You were killed.  Good job buddy."
    
    # return image of room
    def get_image(self):
        return 'death.jpg'

class DeathHandler(BaseHandler):
    
    # override default template to omit the inventory and actions
    def get_template(self):
        return 'death.html'
    
    # return class to use to create a new instance of this room
    def get_room_class(self):
        return Death

# define actions for this room
